package com.ershui.blog.article.mapper;

import com.ershui.blog.article.domain.LDiary;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface LDiaryMapper {
    int insert(LDiary record);

    int insertSelective(LDiary record);

    List<LDiary> selectDiaryList();

    void updateDiary(LDiary record);

    void deleteDiaryById(Long id);
}